package com.zdb.demo.design.pattern.creational.factorymethod;

public class Test {

    public static void main(String[] args) {
        VideoFactory factory = new JavaVideoFactory();
        Video video = factory.getVideo();
        video.produce();

        factory = new PythonVideoFactory();
        video = factory.getVideo();
        video.produce();
    }

}
